#define _CRT_SECURE_NO_WARNINGS 1

#include"stack.h"

void test_stack()
{
	//bit::stack<int, vector<int>> s;
	//bit::stack<int, list<int>> s;
	//bit::stack<int, deque<int>> s;

	bit::stack<int> s;

	s.push(5);
	s.push(4);
	s.push(3);
	s.push(2);
	s.push(1);

	size_t size = s.size();
	cout << "size = " << size << endl;

	while (!s.empty())
	{
		int num = s.Top();
		cout << num << " ";
		s.pop();
	}

}

int main()
{
	test_stack();

	return 0;
}